Search
|
Search for binary data in files, folders, and partitions in a data source. The Hex viewer can find data segments by
|
|
Procedures
To quickly find your file of interest search all files in a folder. You can also select the root folder in the File Tree view and make a search.
To search all files in a folder
- Click the Tree button to open the file tree view.
- Select a folder in the file tree view. You can also select a root folder.
- In the ribbon, click the Find button.
- Select what you are searching and type in the text box. You can choose to Include all subfolders.
- Click Find All.
To get back to your search query, in the header click the button for your saved search.
| Supported Text Formats |
|---|
| ANSI |
| ANSI, case insensitive |
| ANSI and Unicode |
| ANSI and Unicode |
| ANSI and Unicode, case insensitive |
| UTF7 |
| UTF8 |
| GSM, 7 bit packed |
| GSM, 7 bit packed, case insensitive |
| GSM, 8 bit unpacked |
| MAC |
| OEM Latin 1 |
| IRA/IA5, 7 bit |
| US ASCII, 7 bit |
| 8859-1, West European/Latin 1 |
| 8859-2, Central/East European/Latin 2 |
| 8859-3, South European/Latin 3 |
| 8859-4, North European/Baltic |
| 8859-5, Cyrillic |
| 8859-6, Arabic |
| 8859-7, Greek |
| 8859-8, Hebrew |
| 8859-9, Turkish/Latin 5 |
| 8859-15, Latin 9 |
| Shift JIS |
| Unicode Big Endian (Motorola) |
| Unicode Little Endian (PC/Intel) |
- In the file browser, select the file you want to analyze.
- In the ribbon, click the magnifying glass
or select Ctrl+F.- To browse through and to highlight found data segments in the Hex and ASCII columns, in the Find window, click the previous button
and the next button
. - To open a new tab that contains a list with all found data segments, in the Find window, click Find All.
- To browse only in a selected data segment in the Hex and ASCII columns, select a start position in the Hex data column. To reset the start position, click Reset.
- To browse through and to highlight found data segments in the Hex and ASCII columns, in the Find window, click the previous button
For information about how to bookmark specified data segments, see Bookmarks.
For information about how to define data segments as a new artifact properties, see New artifacts and artifact properties
- In the Find window, in the Search for list, select Text.
- In the text box, enter the character string you want to find.
- In the Format list, select the character format you want to use, and then click any of the buttons that show search results.
- In the Find window, in the Search for list, select Hex.
- In the number box, enter the hexadecimal data you want to find, and then click any of the buttons that show search results.
Note: Do not enter spaces or the 0x prefix in the number box.
| Supported Character String Formats |
|---|
| ANSI |
| GSM, 7 bit |
| Reversed 7 bit |
- In the Find window, in the Search for list, select Find Strings.
- In the Format list, select the character format you want to use, and then click any of the buttons that show search results.
Find segments that contain a variety of known file header signatures and automatically reconstruct and export image files to a folder on your computer.
- In the Find window, in the Search for list, select File Signature.
- Optionally, export the found JPG, GIF, PNG, WEBP, WAV, or AVI files. Select the Export to folder check box, and then click Browse. In the Browse for folder dialog box, browse to the folder you want to use, and then click OK.
- Click any of the buttons that show search results.
Note: The endpoint of the reconstructed file is based on information in the file header about pixel size and bit depth. File fragmentation or flash storage auxiliary spare areas are not taken into account when the reconstructed file endpoint is calculated.
Tip: For decoded file systems on flash storage, searching for deleted files in the translation layer file subsystem often gives good results, because flash wear leveling and auxiliary spare areas will not have an effect on the files.
- In the Find window, in the Search for list, select Reversed Nibble.
- In the number box, enter the reversed hexadecimal nibble you want to find, and then click any of the buttons that show search results.
Tip: If you for example search for "36", you will find hexadecimal segments that contain "3X X6".
Tip: Reversed nibble search is of particular use for phone and IMSI numbers.
Note: Do not enter spaces or the 0x prefix in the number box.
| Meta- character | Function |
|---|---|
| . | Matches any character |
| * | Matches the preceding character zero or more times. |
| ? | Matches the preceding character zero or one time. |
| + | Matches the preceding character one or more times. |
| [abc] | Matches a or b or c |
| [^abc] | Matches any character except a or b or c |
| [a-z] | Matches any character between a and z |
| x|y | Matches x or y |
| \xYY | Matches the character that is YY in hexadecimal ASCII format |
- In the Find window, in the Search for list, select Regex.
- In the text box, using Regex syntax, type the character string you want to find.
- If you want to use a greedy search algorithm, select the use greedy matching check box.
- You can also select a start position in the Hex data column. To reset the start position, click Reset.
- Click any of the buttons that show search results.
- To save the Regex search, click the save or save as button.
For more information about Regular Expression syntax, visit www.boost.org.
For more information about greedy search algorithms, visit en.wikipedia.org/wiki/Greedy_algorithm.
You can create a list of words or characters that are of special interest, and then use the list to find segments that contain any of the items in the list. Separate each item with a row break, and save the list. This list will then be available to reuse in other investigations.
| Supported Character String Formats |
|---|
| ANSI |
| ANSI, case insensitive |
| GSM, 7 bit |
| GSM, 7 bit, case insensitive |
| Reversed 7 bit |
| Hexadecimal |
| Reversed 7 bit |
| Unicode, big endian |
| Unicode, big endian, case insensitive |
| Unicode, little endian |
| Unicode, little endian, case insensitive |
- In the Find window, in the Search for list, select Dictionary.
- In the Format list, select the character format you want to use.
- Select the Use file option button, and then click Browse.
- In the Open dialog box, browse to the file you want to use, and then click Open.
- Click any of the buttons that show search results.
- In the Find window, in the Search for list, select Dictionary.
- In the Format list, select the character format you want to use.
- Select the Use text box option button.
- In the text box, separated with row breaks, enter the character strings or hexadecimal numbers you want to find.
- Click any of the buttons that show search results.
- In the Find window, in the Search for list, select timestamp.
- Select the check boxes for the units of time you want to include in the specified timestamp.
- In the number boxes, enter the time values you want to include in the specified timestamp.
- Click any of the buttons that show search results.
Note: Timestamps use a 24 hour time format.
Note: Because of possible time zone issues, it is recommended to not include a specified hour when searching for timestamp data.
